import 'package:get/get.dart';
import 'package:getxdemo/http/request_respository.dart';
import 'package:shared_preferences/shared_preferences.dart';
class Injection{
  Future<void> init() async{
    await Get.putAsync(() => SharedPreferences.getInstance());
    Get.lazyPut(() => RequestRepository());
  }
}